//
//  APIMacro.h
//  much
//
//  Created by weijunjie on 2019/1/2.
//  Copyright © 2019年 iOS. All rights reserved.
//

#import "iKYSerializationDefine.h"
#ifndef APIMacro_h
#define APIMacro_h
#if showDivRequestUrl
#define OutsideAPIPath @""
#else
#define OutsideAPIPath @"http://api-much.yuntujk.net:30003/"
//#define LTAPIPath @"http://192.168.0.133:32226/" // 李桃
//#define SMSDevPath @"http://192.168.10.38:32230/" // 短信(开发环境)
//#define SEARCHAPIPath @"http://192.168.10.38:32256/" // 李涛
//#define ZHENZEAPIPath @"http://192.168.10.37:32256/" // 郑泽
//#define ZHENZEAPIPath @"http://192.168.10.37:32256/" // 郑泽
//#define SYLAPIPath @"http://192.168.0.198:8051/" // 史友龙
//#define LTAPIPath @"http://192.168.0.133:32226/" // 李桃
//#define SMSDevPath @"http://192.168.10.38:32230/" // 短信(开发环境)
//#define SEARCHAPIPath @"http://192.168.10.38:32256/" // 李涛
//#define ZHENZEAPIPath @"http://192.168.10.37:32256/" // 郑泽
/** 上传附件 */
#define UploadAttachmentsPath @"http://192.168.10.38:32210/"
#endif

#pragma mark - 用户相关
#define UserLoginRequestCaptchaAPI @"mm/ca/v1/sms/" // 获取验证码
#define UserLoginAPI @"mu/ca/v1/login" // 登录
/** 获取用户基本信息 */
#define UserBaseInfoAPI @"mu/ca/v1/customer"
/** 上传图片 */
#define UploadImageAPI @"mb/*/v1/attachments/"
/** 修改用户信息 */
#define EditUserBaseInfoAPI @"mu/ca/v1/change" // 登录

#pragma mark - 商品相关
#define StoreSearchAPI @"mc/ca/v1/spu/search" // 商品搜索
#define StoreDetailInfoAPI @"mc/ca//v1/items/" // 商品详情

#define GoodsOrderBefore @"product/order/pre-order" // 预下单
/** 获取省份列表 */
#define ProvinceListAPI @"mb/*/v1/areas/provinces"
/** 获取城市/市区列表 */
#define CityListAPI @"mb/*/v1/areas/parent"
/** 商城中用户地址 */
#define ShoppingAddressListAPI @"mu/ca/v1/shipping-address/user/all"
/** 移除/修改用户地址 */
#define DeleteEditShoppingAddressListAPI @"mu/ca/v1/shipping-address"

#endif /* APIMacro_h */
